package com.lanchewuyou.user.driver.bean;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * 保险公司数据库帮助类
 */
public class FourSOpenHelper extends SQLiteOpenHelper {

    public static final String CREATE_FOURS="create table Fours("
            +"id integer primary key autoincrement,"
            +"fours_id text,"
            +"fours_name text,"
            +"fours_regional text,"
            +"fours_address text,"
            +"fours_brandid text,"
            +"fours_shortname text)";

    public FourSOpenHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version) {
        super(context, name, factory, version);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL(CREATE_FOURS);
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
